import { createModule } from '@/router/type'

export default createModule([
  {
    path: '/', redirect: '/login'
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@views/login/login.vue')
  },
  {
    path: '/login/cosplay',
    name: 'LoginCosplay',
    component: () => import('@views/login/cosplay.vue')
  },
  {
    path: '/register',
    name: 'Register',
    component: () => import('@views/login/register.vue')
  },
  {
    path: '/privacy',
    name: 'Privacy',
    component: () => import('@views/login/privacy.vue')
  },
  {
    path: '/retrieve-password',
    name: 'RetrievePassword',
    component: () => import('@views/login/retrieve-password.vue')
  },
  {
    path: '/editor-draw',
    name: 'EditorDraw',
    component: () => import('@views/self-config/editor-draw.vue')
  },
  {
    path: '/show-draw',
    name: 'ShowDraw',
    component: () => import('@views/self-config/show-draw.vue')
  }
  // {
  //   path: '/test/test1',
  //   name: 'Test1',
  //   component: () => import('@views/test1.vue')
  // }
])
